/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package StartUp;

import bluej.extensions.BlueJ;
import bluej.extensions.Extension;
import bluej.extensions.event.PackageEvent;
import bluej.extensions.event.PackageListener;

public class ExtensionStart extends Extension implements PackageListener {

    @Override
    public void startup(BlueJ b) {

        b.setMenuGenerator(new MenuBuilder());
        b.addPackageListener(this);
    }

    @Override
    public void packageClosing(PackageEvent arg0) {
        // TODO Auto-generated method stub
    }

    @Override
    public void packageOpened(PackageEvent arg0) {
        // TODO Auto-generated method stub
    }

    @Override
    public String getName() {
        // TODO Auto-generated method stub
        return "Extension Projeto Nupe";
    }

    @Override
    public String getVersion() {
        // TODO Auto-generated method stub
        return "0";
    }

    @Override
    public boolean isCompatible() {
        // TODO Auto-generated method stub
        return true;
    }
}
